package cn.cnsy123.blog.application.http.response;

import cn.cnsy123.blog.application.entity.ArticleCommentInfo;
import cn.cnsy123.blog.application.entity.ArticleCommentReplyInfo;
import cn.cnsy123.blog.application.entity.ArticleInfo;

import java.util.List;

public class ArticleDetailResponse {

    private String resultCode;

    private String msg;

    private ArticleResponse articleInfo;

    private List<ArticleCommentResponse> commentInfo;

    private ArticleUserResponse userInfo;


    public ArticleDetailResponse() {
    }

    public ArticleDetailResponse(String resultCode, String msg) {
        this.resultCode = resultCode;
        this.msg = msg;
    }

    public ArticleDetailResponse(String resultCode, String msg, ArticleResponse articleInfo, List<ArticleCommentResponse> commentInfo, ArticleUserResponse userInfo) {
        this.resultCode = resultCode;
        this.msg = msg;
        this.articleInfo = articleInfo;
        this.commentInfo = commentInfo;
        this.userInfo = userInfo;
    }

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ArticleResponse getArticleInfo() {
        return articleInfo;
    }

    public void setArticleInfo(ArticleResponse articleInfo) {
        this.articleInfo = articleInfo;
    }

    public List<ArticleCommentResponse> getCommentInfo() {
        return commentInfo;
    }

    public void setCommentInfo(List<ArticleCommentResponse> commentInfo) {
        this.commentInfo = commentInfo;
    }

    public ArticleUserResponse getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(ArticleUserResponse userInfo) {
        this.userInfo = userInfo;
    }
}
